package com.example.demo.model;

import com.example.demo.config.base.DataModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;

@Entity(name = "sys_user")
public class SysUser extends DataModel {
    @Id
    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "login_name")
    private String loginName;

    @Column(name = "login_pwd")
    private String loginPwd;

    @Column(name = "user_name")
    private String userName;

    @Column(name = "status")
    private Integer status;

    @Column(name = "last_login_time")
    private Timestamp lastLoginTime;

    @Column(name = "last_login_ip")
    private String lastLoginIp;

    @Column(name = "create_time")
    private Integer createTime;

    @Column(name = "email")
    private String email;

    @Column(name = "tel")
    private String tel;

    @Column(name = "role_id")
    private Integer roleId;

    @Column(name = "bindingRole")
    private Integer bindingRole;

    @Column(name = "uuid")
    private String uuid;

    @Column(name = "is_examine")
    private Integer isExamine;

    public Integer getStatus() {
        return status;
    }

    public Integer getBindingRole() {
        return bindingRole;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public Integer getIsExamine() {
        return isExamine;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public Timestamp getLastLoginTime() {
        return lastLoginTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public String getEmail() {
        return email;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public String getUserName() {
        return userName;
    }

    public String getTel() {
        return tel;
    }

    public String getUuid() {
        return uuid;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setBindingRole(Integer bindingRole) {
        this.bindingRole = bindingRole;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public void setLastLoginTime(Timestamp lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setIsExamine(Integer isExamine) {
        this.isExamine = isExamine;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }


}
